Integrating Burst SMS API with Zoho CRM

Integrating Burst SMS REST API with Zoho CRM

How to configure the Burst SMS REST API with Zoho CRM?

To send an SMS using the Burst SMS API from Zoho CRM, you can use the following Deluge script. This script fetches the contact's mobile number and sends a message to the customer .

Deluge Script:-

getrecords = zoho.crm.getRecordById("Calls",CallID);

if(getrecords.getJSON("Who_Id").size() > 0)

{

contact = zoho.crm.getRecordById("Contacts",getrecords.getJSON("Who_Id").getJSON("id"));

info contact.get("Mobile");

mape = Map();

msg = "Hey, Powerpal here - we'\''ve set you up to claim your Solar Victoria rebate to upgrade your hot water system, please can you get that completed as soon as possible so we can get your brand new heat pump installed";

mape.put("message",msg);

mape.put("to",contact.get("Mobile"));

headers = Map();

headers.put("Content-Type","application/x-www-form-urlencoded");

headers.put("Authorization",""Basic NDJmYmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxY=");

response = invokeurl

[

url :"https://api.transmitsms.com/send-sms.json"

type :POST

parameters:mape

headers:headers

];

info response;

}

Please find the below Screenshot for your reference:-



</

Post a Comment